package clause

import "strings"

type Column struct {
	Cols []string
}

func (c *Column) BuilderSql(builder *Builder) {
	if len(c.Cols) == 0 {
		builder.WriteString("*")
	} else {
		builder.WriteString(strings.Join(c.Cols, ", "))
	}
}
